﻿using System;

namespace Smugmug
{
    public class SmugmugException : Exception
    {
        public FaultCode Error { get; set; }

        public SmugmugException() { }
        public SmugmugException(FaultCode error) : this("", error, null) { }
        public SmugmugException(FaultCode error, Exception innerException) : this("", error, innerException) { }
        public SmugmugException(string message, FaultCode error, Exception innerException) : base(message, innerException)
        {
            Error = error;
        }
    }
}